package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomentrust.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@Schema(description = "业主委托列表项")
public class RoomEntrustVO {
    @Schema(description = "id")
    private Long id;

    @Schema(description = "业主来源")
    private String source;

    @Schema(description = "业主姓名")
    private String name;

    @Schema(description = "业主电话")
    private String phone;

    @Schema(description = "所在小区")
    private String area;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "委托创建时间")
    private LocalDateTime createTime;

    @Schema(description = "是否可以编辑")
    private Boolean flag;
}
